package controller 
{
	import flash.events.Event;
	import model.GameModel;
	import org.flixel.FlxG;
	
	/**
	 * ...
	 * @author Gaz Williams
	 * 
	 * the context for the game
	 * 
	 */
	public class RootViewControllerEvent extends Event 
	{
		
		public static const UPDATE:String = "update";
		
		public function RootViewControllerEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
			//context
			var GameModel:GameModel = new GameModel();
			
		} 
		
		public override function clone():Event 
		{ 
			return new RootViewControllerEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("RootViewControllerEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}